package com.qpf.mycms.manager.login.service.impl;

import com.qpf.mycms.api.LoginApi;
import com.qpf.mycms.api.pojo.UserRequest;
import com.qpf.mycms.api.pojo.dto.UserDto;
import com.qpf.mycms.manager.login.service.SysUserLoginService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SysUserLoginServiceImpl implements SysUserLoginService {

    @Resource
    private LoginApi loginApi;
    @Override
    public UserDto login(String username, String password) {
        return loginApi.login(username, password);
    }
}
